package com.ewater.shortlink.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ewater.shortlink.admin.dao.entity.UserDO;
import com.ewater.shortlink.admin.dto.resp.UserDTO;

/**
 * 用户接口层
 */

public interface UserService extends IService<UserDO> {

    /**
     * 根据用户名返回用户dto信息
     * @param username 用户名
     * @return dto信息
     */
    UserDTO getUserByUsername(String username);
}
